package com.owner.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Scope;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;

import com.owner.biz.PlotsBiz;
import com.owner.dao.PlotsDao;
import com.owner.entity.Plots;
@Service("plotsBiz")
@Scope("prototype")
public class PlotsBizImpl implements PlotsBiz{
	@Autowired
	private PlotsDao plotsDao;

	public int getCountPlots() {
		// TODO Auto-generated method stub
		return plotsDao.getCountPlots();
	}

	public List<Plots> getAllPlotsName() {
		// TODO Auto-generated method stub
		return plotsDao.getAllPlotsName();
	}
	
	
}
